home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day12 / dbfiltru.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  1.4 KB  |  44 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef DbFiltrUH
  3. #define DbFiltrUH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\Db.hpp>
  10. #include <vcl\DBGrids.hpp>
  11. #include <vcl\DBTables.hpp>
  12. #include <vcl\Grids.hpp>
  13. //---------------------------------------------------------------------------
  14. class TForm2 : public TForm
  15. {
  16. __published:    // IDE-managed Components
  17.   TComboBox *DBNamesComboBox;
  18.   TLabel *Label1;
  19.   TComboBox *TablesComboBox;
  20.   TLabel *Label2;
  21.   TDataSource *DataSource1;
  22.   TTable *Table1;
  23.   TDBGrid *DBGrid1;
  24.   TComboBox *FieldsComboBox;
  25.   TLabel *Label3;
  26.   TEdit *ValueEdit;
  27.   TComboBox *OperatorComboBox;
  28.   TLabel *Label4;
  29.   TLabel *Label5;
  30.   TButton *FilterBtn;
  31.   void __fastcall DBNamesComboBoxChange(TObject *Sender);
  32.   void __fastcall TablesComboBoxChange(TObject *Sender);
  33.   void __fastcall FormCreate(TObject *Sender);
  34.   void __fastcall FilterBtnClick(TObject *Sender);
  35.   
  36. private:    // User declarations
  37. public:        // User declarations
  38.   __fastcall TForm2(TComponent* Owner);
  39. };
  40. //---------------------------------------------------------------------------
  41. extern TForm2 *Form2;
  42. //---------------------------------------------------------------------------
  43. #endif
  44.